package kgc.qy.service.impl;

import kgc.qy.mapper.RegistryMapper;
import kgc.qy.pojo.Registry;
import kgc.qy.service.IRegistryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RegistryServiceImpl implements IRegistryService {
    @Autowired
    private RegistryMapper registryMapper;

    @Override
    public List<Registry> getByIdOrStatus(Long id) {
        List<Registry> byIdOrStatus = registryMapper.getByIdOrStatus(id);
        return byIdOrStatus;
    }
}
